/**
 * 
 */
package org.acompanhamento.listener;

import org.acompanhamento.domain.Task;

import bancosys.tec.persist.persister.listener.AbstractPersisterListener;

/**
 * @author icaro
 *
 */
public class TaskPersisterListener extends AbstractPersisterListener<Task>{

	@Override
	protected void beforeInsert(Task bean) {
		super.beforeInsert(bean);
		bean.setStatus(bean.getSprint().getWorkflow().getInitialStatus());
	}
}
